package com.xiaoming.e3mall.content.service;

import com.xiaoming.e3mall.common.pojo.EasyUIDataGridResult;
import com.xiaoming.e3mall.common.utils.E3Result;
import com.xiaoming.e3mall.pojo.TbContent;

import java.util.List;

/**
 * 前台某分类区域的内容管理
 */
public interface ContentService {

    E3Result addContent(TbContent content);


    EasyUIDataGridResult query(Long categoryId, int page, int rows);

    List<TbContent> getContentByCid(Long content_lunbo_id);
}
